﻿using System.ComponentModel;
using ZeroSum.Models;

namespace ZeroSum.Exceptions;

[Description("系统配置出现问题时抛出")]
public class SystemConfigurationError : BusinessException
{
    private SystemConfigurationError(string message) : base(message, ResponseStatus.SystemConfigurationError)
    {
    }

    public static SystemConfigurationError Of(string message)
    {
        return new SystemConfigurationError(message);
    }
}